home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 4 / Apprentice-Release4.iso / Source Code / C / Games / Pentominoes 2.0 / Shell ƒ / list layer.h < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-15  |  1.5 KB  |  35 lines  |  [TEXT/MMCC]

  1. #ifndef __MY_LIST_LAYER_H__
  2. #define __MY_LIST_LAYER_H__
  3.  
  4. #ifdef __cplusplus
  5. extern "C" {
  6. #endif
  7.  
  8. extern    ListHandle MyCreateVerticalScrollingList(WindowRef theWindow, Rect boundsRect,
  9.     short columnsInList, short theLDEF, short cellHeight);
  10. extern    void MyDrawListBorder(ListHandle theList);
  11. extern    void MyDrawActiveListBorder(ListHandle theList, Boolean isActive);
  12. extern    void MyAddStr255ToList(ListHandle theList, Str255 theStr);
  13. extern    void MyDeleteItemFromList(ListHandle theList, short index);
  14. extern    Boolean MyHandleMouseDownInList(ListHandle theList, Point thePoint, short modifiers);
  15. extern    void MyUpdateList(ListHandle theList);
  16. extern    void MyActivateList(ListHandle theList, Boolean isActive);
  17. extern    Boolean MyGetFirstSelectedCell(ListHandle theList, Cell *theCell);
  18. extern    void MySelectOneCell(ListHandle theList, Cell theCell);
  19. extern    void MyMakeCellVisible(ListHandle theList, Cell theCell);
  20. extern    void MyDeselectAllCells(ListHandle theList);
  21. extern    void MyClearAllCells(ListHandle theList);
  22. extern    void MyGetCellData(ListHandle theList, Cell theCell, Str255 theName);
  23. extern    void MySetCellData(ListHandle theList, Cell theCell, Str255 theName);
  24. extern    void MyScrollList(ListHandle theList, short diff);
  25. extern    void MySetListSelectionFlags(ListHandle theList, short flags);
  26. extern    void MySetListSize(ListHandle theList, short width, short height, short cellHeight);
  27. extern    void MyGetListRect(ListHandle theList, Rect *boundsRect);
  28. extern    void MySetListRect(ListHandle theList, Rect boundsRect);
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33.  
  34. #endif
  35.